package com.jsx.hyyscript.common.exception;

/**
 * @author sui-b
 * @date 2020-7-7 01:38:38
 */
public class HyyException extends RuntimeException {
    private final int resultCode;
    private final String resultMessage;

    public HyyException(int resultCode, String resultMessage) {
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
    }

    public int getResultCode() {
        return resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }
}
